package com.edais.dao;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import com.edais.domain.ErrorMessageSetting;
import com.edais.persistence.ErrorMessageSettingMapper;

@Repository(value="errorMessageSettingDao")

public class ErrorMessageSettingDao {
	@Autowired
	private ErrorMessageSettingMapper errorMessageSettingMapper;
	
	/**
	 * 根据名称查询报错信息
	 * @param paramsMap
	 * @return
	 */
	public ErrorMessageSetting selectErrorMessageSettingByName(Map<String,Object> paramsMap){
		return this.errorMessageSettingMapper.selectErrorMessageSettingByName(paramsMap);
	}
}
